


import yaml



def  read_yaml(filename):

    #读取文件
    file = open(file=filename,mode="r+",encoding="utf-8")

    data = yaml.load(file,Loader=yaml.SafeLoader)

    print(data)
    return data








